<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="description" content="">
		<meta name="author" content="">

		<title>Dashboard Template for Bootstrap</title>
		<!-- Bootstrap core CSS -->
		<link href="/css/bootstrap.min.css" rel="stylesheet">

		<!-- Custom styles for this template -->
		<link href="/css/dashboard.css" rel="stylesheet">
		<style type="text/css">
			/* Chart.js */
			
			@-webkit-keyframes chartjs-render-animation {
				from {
					opacity: 0.99
				}
				to {
					opacity: 1
				}
			}
			
			@keyframes chartjs-render-animation {
				from {
					opacity: 0.99
				}
				to {
					opacity: 1
				}
			}
			
			.chartjs-render-monitor {
				-webkit-animation: chartjs-render-animation 0.001s;
				animation: chartjs-render-animation 0.001s;
			}
		</style>
	</head>

	<body>
	<div th:insert="~{common/commons :: topBar}"></div>
	<div class="container-fluid">
		<div class="row">
			<div th:insert="~{common/commons :: sideBar(active='list.html')}"></div>
	<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
		<form th:action="@{/add}" method="post">
			<div class="form-group">
            <label>Name</label>
            <input type="text" class="form-control" name="name" placeholder="Name">
        </div>
            <div class="form-group">
            <label>Age</label>
            <input type="number" class="form-control" name="age" min="1" max="150">
            <label>Gender</label>
            <div class="form-group">
                <label>
                <input type="radio" name="gender" id="optionsRadios2" value="1">
                男
            </label>
            </div>
            <div class="form-group">
            <label>
                <input type="radio" name="gender" id="optionsRadios3" value="0">
                女
            </label>
        </div>
            <div class="form-group">
                <label>Reason</label>
                <select class="form-control" name="yyqx.pictureName">
                   <!-- 导入的是th:value的值-->
                    <option th:each="qx:${yyqxhobbys}" th:text="${qx.getPictureName()}" th:value="${qx.getPictureName()}"></option>
                </select>
            </div>
            <div class="form-group">
                <label>Birth</label>
                <input type="date" name="date" class="form-control" placeholder="yi">
            </div>
			<button type="submit" class="btn btn-primary">添加</button>
		</form>
	</main>
		</div>
	</div>

	</body>

</html>